local controller = Instance.new("RemoteEvent",owner.Character) controller.Name = "controller" ---------------------------------------------------------- local tauntBill = Instance.new("BillboardGui",owner.Character.HumanoidRootPart) tauntBill.Size = UDim2.new(9,0,9,0) tauntBill.StudsOffsetWorldSpace = Vector3.new (0,0,1) tauntBill.Enabled = false local tBubble = Instance.new("ImageLabel",tauntBill) tBubble.Image = "rbxassetid://12532973153" tBubble.Size = UDim2.new (1,0,1,0) tBubble.BorderSizePixel = 0 tBubble.BackgroundTransparency = 1 local tSnd = Instance.new("Sound",owner.Character.HumanoidRootPart) tSnd.Volume = 1 tSnd.SoundId = "rbxassetid://6380285152" local parrySnd = Instance.new("Sound",owner.Character.HumanoidRootPart) parrySnd.Volume = 1 parrySnd.SoundId = "rbxassetid://12643604565" local tDB = false local parry = false local health = owner.Character.Humanoid.Health ---------------------------------------------------------- controller.OnServerEvent:Connect(function(plr,code,target) if code == "taunt" and tDB == false then tDB = true tauntBill.Enabled = true --tSnd.PlaybackSpeed = math.random(9,11)/10 tSnd:Play() owner.Character.HumanoidRootPart.Anchored = true parry = true health = owner.Character.Humanoid.Health wait(.3) tauntBill.Enabled = false owner.Character.HumanoidRootPart.Anchored = false wait(.2) tDB = false parry = false end end) owner.Character.Humanoid.HealthChanged:Connect(function() if parry == true and health > owner.Character.Humanoid.Health then warn("NOT GONNA SUGARCOAT IT") owner.Character.Humanoid.Health = health + 25 parrySnd:Play() tDB = false end end) NLS([[ local UserInputService = game:GetService("UserInputService") local function onInputBegan(input, _gameProcessed) if _gameProcessed then return end if input.KeyCode == Enum.KeyCode.C then owner.Character.controller:FireServer("taunt") end end UserInputService.InputBegan:Connect(onInputBegan) ]], owner.PlayerGui)